<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
         *{
        padding: 0;
        margin: 0;
    }
    table{
            width: 700px;
            margin: 50px;
            border: 1px solid #000;
            border-collapse: collapse;
            text-align: center;
        }
        caption{
            font-size: 20px;
            font-weight: bold;
            line-height: 60px;
        }
        th,td{
            border: 1px solid #000;
            padding: 10px 0;
        }
    </style>
</head>
<body>
    <script>
        document.write('<table>')
              for(let i=1;i<=9;i++){
                  document.write('<tr>')
                  //document.write('<td>')
                      for(let j=1;j<=i;j++){
                          document.write('<td>');
                          document.write(j);
                          document.write('×')
                          document.write(i);
                          document.write('=');
                          document.write(i*j);
                          document.write('</td>');
                      }
                //document.write(i)
                //document.write('</td>')
                 document.write('</tr>')
             }
         document.write('</table>')
    </script>
</body>
</html>